package com.ninthgroup.mapper;

import com.ninthgroup.entity.Kind;

import java.util.List;

public interface KindMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Kind record);

    int insertSelective(Kind record);

    Kind selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Kind record);

    int updateByPrimaryKey(Kind record);

    /**
     * 查询所有的新闻类别
     * @return
     */
    List<Kind> selectAllKind();
}